package com.wlyuan.open.dto;

import com.wlyuan.open.validation.constraints.SmsSend;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author lijing
 */
@Data
@SmsSend
public class OpenSmsCodeDTO implements Serializable {
    private static final long serialVersionUID = 607495390551632034L;

    @ApiModelProperty("发送短信类型 1 ：注册，3：重置密码， 4：绑定管理员账号短信， 5：换绑手机号短信")
    private Integer type;

    @ApiModelProperty("手机号码")
    private String mobile;

    @ApiModelProperty("管理员账号")
    private String account;

    @ApiModelProperty("请求id")
    private String requestId;

    @ApiModelProperty("图片验证码")
    @NotBlank(message = "图片验证码不能为空")
    private String captcha;
}
